<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

// +----------------------------------------------------------------------
// | Cookie设置
// +----------------------------------------------------------------------
return [
    'host' => env('redis_host', '127.0.0.1'),
    'port' => env('redis_port' , '6379'),
    'password' => env('redis_password'),
    // redis 名称前缀
    'prefix' => '',
    // cookie 保存时间
    'expire' => 0,
    'select' => env('redis_select'), // 选择的数据库编号（从0开始计算）
    'key' => md5(md5(time())),
];
